﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Per_pixel_OCR
{
    class Program
    {
        static void Main(string[] args)
        {
            Digit[] trainDigits = FileOperations.Only(Parameters.TrainPath, Parameters.SelectedDigits, 500);
            Digit[] testDigits = FileOperations.Only(Parameters.TestPath, Parameters.SelectedDigits, -1 );

            Pixel[] trainPixels = trainDigits.GetPixels();
            Pixel[] testPixels = testDigits.GetPixels();

            Forest forest = new Forest(trainDigits, testDigits, trainPixels, testPixels, 1, trainPixels.Length);
        }
    }
}
